package com.theaf.basemodule.common.vo.resource;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @Author:songwenke
 * @Description:资源VO
 * @Date:create in 17:14 2018/3/8
 * @Modified By:
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ResourceVO {
    private Long id;
    @ApiModelProperty("父ID")
    private Long pid;
    @ApiModelProperty("类型")
    private String type;
    @ApiModelProperty("编码")
    private String code;
    @ApiModelProperty("名称")
    private String name;
    @ApiModelProperty("备注")
    private String remark;
    @ApiModelProperty("是否必选")
    private boolean musted;
    @ApiModelProperty("地址")
    private String url;
    @ApiModelProperty("缺省是否拥有")
    private boolean defaultVal;
    @ApiModelProperty(value = "是否启用")
    private Boolean enable;
    @ApiModelProperty(value = "顺序")
    private Integer orderNo;
    @ApiModelProperty(value = "子数据")
    private List<ResourceVO> children;
}
